{include file=$header_start}
{strip}
<script type="text/javascript" src="{$siteroot}/includes/js/admin/editpaypal.js"></script>
{/strip}
{include file=$header_end}

 <div class="contain">
 
      {include file=$left_menu}
      
      <div class="right_contain">
        
         <div class="heading_box">Edit Paypal Settings</div>
         <div class="whitebox">
         <span>
         	<a href="{$siteroot}/admin/home.php?q=paypal" class="rF"><strong>Back</strong></a>
		</span>
         <!--Message Div Start-->
         {if $msg}
         <div class="masg_div">
           {$msg}
         </div>
         {/if}
         <!--Message Div End-->
         
         <div style="min-height:250px;">
          <!--Form Contain start-->
         <form name="frmpaypalDetails" id="frmpaypalDetails" action="" method="post" > 
           <div class="form_fieldbox">
             <dl>
              <dt>Mode:</dt>
              <dd>
              	<select name="mode">
                	<option value="0">Sandbox</option>
                    <option value="1" {if $payPalArray.mode eq 1} selected="selected" {/if}>Live</option>
                </select>
              <div class="clear"></div>
             </dl>
             
             <dl>
              <dt>Paypal Merchan email:</dt>
              <dd>
              <input type="text" name="merchant_live" id="merchant_live" value="{$payPalArray.merchant_live}" class="input"  /></dd>
              <div class="clear"></div>
             </dl>
                          
             <dl>
              <dt>Sandbox Merchant email:</dt>
              <dd><input type="text" name="merchant_sandbox" id="merchant_sandbox" value="{$payPalArray.merchant_sandbox}" class="input"  /></dd>
              <div class="clear"></div>
             </dl>


			<dl>
              <dt>Paypal URL:</dt>
              <dd><input type="text" name="url_live" id="url_live" value="{$payPalArray.url_live}" class="input"  /></dd>
              <div class="clear"></div>
             </dl>
             
             
			<dl>
              <dt>Sandbox URL:</dt>
              <dd><input type="text" name="url_sandbox" id="url_sandbox" value="{$payPalArray.url_sandbox}" class="input"  /></dd>
              <div class="clear"></div>
             </dl>
			 
			 
             <dl>
              <dt>Enable:</dt>
              <dd>
              	<select name="published">
                	<option value="0">No</option>
                    <option value="1" {if $payPalArray.published eq 1} selected="selected" {/if}>Yes</option>
                </select>
              <div class="clear"></div>
             </dl>
                          
             <dl>
              <dt>&nbsp;</dt>
              <dd>
              <input type="submit" value="Update" name="update" class="admin_btn" />&nbsp;<input type="button" value="Cancel" name="cancel" class="admin_btn" onclick="window.location='{$siteroot}/admin/home.php?q=paypal';"/>
              </dd>
              <div class="clear"></div>
             </dl>
            </div>
</form>
            
            <!--Form Contain end--> 
           
  
         </div>
         
         </div>
        </div>
      
      
      <!--right_contain end-->
      <div class="clear"></div>
    </div>
    
{include file=$footer}